home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / ansi / hppa / stddef.h < prev    next >
C/C++ Source or Header  |  1994-06-20  |  553b  |  20 lines

  1. #ifndef _ANSI_HPPA_STDDEF_H
  2. #define _ANSI_HPPA_STDDEF_H
  3.  
  4. #define _DEFINE_NULL
  5. #define _DEFINE_SIZE_T
  6. #define _DEFINE_WCHAR_T
  7. #include <ansi/hppa/stdtypes.h>
  8.  
  9. /* The signed integral type of the result of subtracting two pointers. */
  10.  
  11. typedef long ptrdiff_t;
  12.  
  13. /* An integral constant expression that has type `size_t', the value of
  14.  * which is the offset in bytes to the structure member `identifier' from
  15.  * the beginning of the structure `type'. */
  16.  
  17. #define offsetof(type,identifier) ((size_t)&((type *)0)->identifier)
  18.  
  19. #endif /* _ANSI_HPPA_STDDEF_H */
  20.